import request from "../utils/request";

export const apiLogin = (data)=>{
    return request({
        url:"/login",
        method:'post',
        data
    })
}
export const apiregister = (data)=>{
    return request({
        url:'/regisert',
        method:"post",
        data
    })
}